package org.geekbang.work9;

import java.util.EventObject;

/**
 * 事件监听.
 *
 * @author leo
 * @date 2021/8/29
 * @since 1.0.0
 */
public interface EventObjectListener<T extends EventObject> extends java.util.EventListener {

    /**
     * 功能: 事件接收.
     * @author leo
     * @date 2021/8/29
     * @param event {@link EventObject} subclass.
     *
    */
    void onEvent(T event);
}
